<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta content="email=no" name="format-detection">
<link rel="stylesheet" href="https://act.weixin.qq.com/static/cdn/css/wepayui/0.1.1/wepayui.min.css">
<link rel="stylesheet" href="https://wepayui.github.io/project/pay_record/css/wepayui.min.css">
<title>商户检测</title>
<style>
    .weui-cell__hd {
    height: 34px;
}
.weui-cell__hd img {
    margin-right: 15px;
}
</style>
</head>
<!-- 
	通用说明： 
	1.模块的隐藏添加class:hide;
	2.body标签默认绑定ontouchstart事件，激活所有按钮的:active效果
-->
<body>
<div class="weui-wepay-lists">
    <div class="weui-wepay-lists__hd">
        <div class="weui-wepay-lists__menu">
            <div class="weui-wepay-lists__menu__item weui-wepay-lists__menu__item_on">商户在线检测</div>
            <!-- <div class="weui-wepay-lists__menu__item">已完成</div> -->
        </div>
    </div>
    <div class="weui-wepay-lists__bd">
        <div class="weui-cells" style="margin-top:0">
            {volist name="mch_list" id ="vo"}
            <a class="weui-cell weui-cell_access" href="https://pay.vcxws.com/v1/inputpay/testpay/sub_mch_id/{$vo.sub_mch_id}/valuetoken/{$valuetoken}">
                <div class="weui-cell__bd">
                    <h3 class="weui-cell__title">{$vo.sub_mch_name}：{$vo.sub_mch_id}</h3>
                    <div class="weui-cell__info"><?php echo date("Y-m-d H:i:s") ?></div>
                </div>
                <div class="weui-cell__ft">

                    <div class="weui-cell__title">{if condition="$vo['is_open'] eq 1"}
                       <span style="color:green;"> 商户已启用</span>
                    {else/}
                    <span style="color:red;">商户已关闭</span>
                    {/if}</div>
                    <div class="weui-cell__info">点击测试</div>
                </div>
            </a>
            {/volist}
        </div>
        
    </div>
</div>
</body>
</html>